<wicket:extend>
	<script type="text/javascript">
	 $(document).ready(function() {
		   $("select#comboGroup").change(function() {
			   if($(this).val() != ""){
				   $("select#comboUser").val("");
			   }
		   });
	});
	 $(document).ready(function() {
		   $("select#comboUser").change(function() {
			   if($(this).val() != ""){
				   $("select#comboGroup").val("");
			   }
		   });
	});
	</script>

	<strong>Asignar nuevo permiso a la carpeta</strong>
	<br />
	<br />
	<form wicket:id="privForm">
		<br />Nombre de la carpeta: <label type="text" wicket:id="name" />
	 	<br />Tipo: <select wicket:id="type" >
			<option>Some type</option>
		</select>  
	 	<br />Usuario: <select id="comboUser" wicket:id="users" >
			<option>Some type</option>
		</select>  
	 	<br />Grupos: <select id="comboGroup" wicket:id="groups" >
			<option>Some type</option>
		</select>  
		<br /> <input type="submit" wicket:id="enviar" value="Asignar Grupo" />
		<input type="button" wicket:id="cancel" value="Cancelar" />
	</form>
	<span wicket:id="feedback">feedbackmessages will be put here</span>
	
<!-- 		<table> -->
<!-- 			<thead> -->
<!-- 				<tr> -->
<!-- 					<th>Nombre</th> -->
<!-- 					<th>Tipo</th> -->
<!-- 				</tr> -->
<!-- 			</thead> -->

<!-- 			<tr wicket:id="list"> -->
<!-- 				<td><span wicket:id="grantable">unNombre</span></td> -->
<!-- 				<td><span wicket:id="type">unNombre</span></td> -->
<!-- 			</tr> -->
<!-- 		</table> -->
</wicket:extend>